package com.bwie.mapper;

import com.bwie.common.domain.User;
import com.bwie.common.domain.UserRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @className: UserMapper
 * @Description: TODO
 * @version: v1.８.0
 * @author: 房新路
 * @date: 2025/8/4 10:24
 */
@Mapper
public interface UserMapper {
    User findByUsername(@Param("username") String username);

    UserRole findByRole(@Param("userId") Integer userId);
}